Create an AddPackageResult object to encapsulate the results of adding a package.
Parent Type: AddPackageResult
Namespace: Microsoft.LearningComponents.Storage
Assembly: Microsoft.LearningComponents.Storage.dll
| C# |
|
public AddPackageResult ( ) |
packageId
The packageId of the package that was added to the store. This value is not validated to ensure that it represents a package in LearningStore.
log
The log of errors and warnings that occurred during the course of adding the package to the store. This may not be null.
| Exception type | Condition |
| ArgumentNullException | Thrown if packageId or log are not provided. |